package net.huashitong.ssydt.exam.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * 试卷题目新增，修改，删除
 *
 * @author hemj
 * @version 2017/9/12
 */
@ApiModel(value = "ExamPaperQuestionInVO", description = "试卷题目增删改(后台)")
public class ExamPaperQuestionInVO implements Serializable {

	/** 题目列表 */
	@ApiModelProperty(value = "题目ID列表")
	@NotEmpty(message = "题目列表不能为空")
	private List<Long> questions;

	public List<Long> getQuestions() {
		return questions;
	}

	public void setQuestions(List<Long> questions) {
		this.questions = questions;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("ExamPaperQuestionInVO{");
		sb.append("questions=").append(questions);
		sb.append('}');
		return sb.toString();
	}
}
